// httpclient.h

#ifndef _HTTPCLIENT_h
#define _HTTPCLIENT_h

#if defined(ARDUINO) && ARDUINO >= 100
	#include "arduino.h"
#else
	#include "WProgram.h"
#endif


enum msgType
{
	POWER_ON_e = 0,
	LOW_POWER_CHECK_e,
	WIFI_INIT_e,
	WIFI_CONNECT_e,
	WIFI_SMART_CONFIG_e,
	POWER_OFF_e,
	LOCK_ON_e,
	LOW_POWER_ALERT_e,
	TIMEOUT_POWER_OFF_e,
	SMART_CONFIG_MODE_e,
	KEYBOARD_LOCK_ON_e,
	HTTP_CYCLE_ASK_e,
	LOCK_OPENED_e,
	LOCK_CLOSED_e,
	IDLE_e,
	IDLE2_e
};
void Http_Send_Request(msgType type);
int  Http_Deal_Method(msgType type);
#endif

